<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="childrenBody">
	<form class="layui-form" style="width:80%;margin-top: 10px">
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">操作模块:</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" th:value="${operLog.title} + ' / ' + ${@dict.getLabel('sys_oper_type',operLog.businessType)}">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">登录信息:</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" th:value="${operLog.operName} + ' / ' + ${operLog.deptName} + ' / ' + ${operLog.operIp}+ ' / ' + ${operLog.operLocation}">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">请求地址:</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" th:value="${operLog.operUrl}">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">操作方法:</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" th:value="${operLog.method}">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">请求参数:</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" th:value="${operLog.operParam}">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">状态:</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" th:value="${operLog.status == 0 ? '正常' : '异常'}">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12" th:style="'display:' + ${operLog.status == 0 ? 'none' : 'block'}">
			<label class="layui-form-label">异常信息:</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" th:value="${operLog.errorMsg}">
			</div>
		</div>
	</form>
	<div th:include="include::footer"></div>
</body>
</html>